package com.jwell.panprovider.contract

import com.jwell.cargoapp.ui.base.IBaseView
import com.jwell.driverapp.tools.BaseSubscriber
import com.jwell.panprovider.entity.AppFuelPlanDtlDto

/**
 * Created by 76577 on 2018/4/24.
 * 供应详情-计划信息
 */
class TransportPlaneInfoContract {
    interface View : IBaseView {
        fun showData(data: AppFuelPlanDtlDto)

    }

    interface Presenter {
        fun getData(id: Int)
        //修改预登记车数
        fun appUpdateEstimate(fuelPlanId: Int, estimateCarCount: Int)
    }

    interface Model {
        fun getData(id: Int, baseSubscriber: BaseSubscriber)
        //修改预登记车数
        fun appUpdateEstimate(fuelPlanId: Int, estimateCarCount: Int, baseSubscriber: BaseSubscriber)
    }
}